package jwcb.admin.api.map.constants;

/**
 * 地图常量信息
 */
public class MapConstants {
    /**
     * 城市级别
     */
    public static final Integer CITY_LEVEL = 2;

    /**
     * 城市列表缓存key
     */
    public static final String CACHE_MAP_CITY_KEY = "map:city:list";

    /**
     * 城市拼音缓存key
     */
    public static final String CACHE_MAP_CITY_PINYIN_KEY = "map:city:pinyin:list";

    /**
     * 城市列表加载分布式锁key
     */
    public static final String CACHE_MAP_CITY_LOAD_LOCK_KEY = "map:city:load:lock:";

    /**
     * 城市拼音列表加载分布式锁key
     */
    public static final String CACHE_MAP_CITY_PINYIN_LOAD_LOCK_KEY = "map:city:pinyin:load:lock:";


    /**
     * 根据父级id缓存key
     */
    public static final String CACHE_MAP_CITY_CHILDREN_KEY = "map:city:children:";


    /**
     * 根据父级id缓存过期时间 120
     */
    public static final Long  CACHE_MAP_CITY_CHILDREN_EXP = 120L;


    /**
     * 热门城市缓存key
     */
    public static final String CACHE_MAP_HOT_CITY_KEY = "map:city:hot";


    /**
     * 热门城市配置键
     */
    public static final String MAP_HOT_CITY_CONFIG_KEY = "sys_hot_city";


}
